<%@ page language="java" pageEncoding="utf-8"%>

<table width="800" align="center">
	<tr>
		<td width="800">
			<br><%@include file="../top.jsp"%><br>
		</td>
	</tr>
	<tr>
		<td>
			<table width="100%">
				<s:if test="#session.loginState != 1">
					<tr>
						<td>您还没有登录，请 <a href="<%=path%>/login/login.jsp">登录 </a>!
						</td>
					</tr>
				</s:if>
				<tr>
					<td colspan="6">历史订单</td>
				</tr>
				<s:else>

					<s:iterator value="#session.order_list" var="order">
						<s:if test="#order.state != 0">
							<tr>
								<td colspan="6"><hr size="1" noshade width="100%"></td>
							</tr>
							<tr>
								<td colspan="6"><a href="<%=path%>/order/OrderAction_orderDetails.action?orderid=<s:property value="#order.orderid"/>">订单号:<s:property
										value="#order.orderid" /></a></td>
							</tr>
							<tr>
								<td colspan="3">收货人:<s:property value="#order.receiver" /></td>

								<td colspan="3">地址:<s:property value="#order.address" /></td>
							</tr>
							<tr>
								<td colspan="3">邮编:<s:property value="#order.postcode" /></td>

								<td colspan="3">联系电话:<s:property value="#order.phone" /></td>
							</tr>
						</s:if>
					</s:iterator>
				</s:else>

			</table>

		</td>
	</tr>
	<tr>
		<td width="800">
            <br><%@include file="/bottom.jsp"%>
		</td>
	</tr>
</table>

<br>

